package com.common.Entity;

import java.util.List;

public class DuoBaoDetailsEntity {

    /**
     * good_info : {"goods_id":7,"goods_name":"苹果6S iphone 6S 32G","single_score":10,"goods_desc":"Apple ipone6S 32G 颜色随机 顺丰包邮哦（除港澳台地区）","goods_album":["http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2018-05-14/2018-05-14/c1e436fea8620a91d82b256f3ce5c862.jpg","http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2018-05-14/2018-05-14/d59f59bc846987661201deefc886b13a.jpg"]}
     * open_state : 1
     * activity_progress : {"fvid":"第18201548期","total_num":"总需150人次","last_num":"剩余113人次","openratio":0.25}
     * open_info : []
     * mybuy_total : 0
     * mybuy_record : []
     * record_start_time : 2018/05/04 16:18:55
     * all_record : [{"userid":5,"face":"","nickname":"机器人2","ip":"127.0.0.1","num":9,"date":"2018/05/04 17:33:20"},{"userid":12,"face":"","nickname":"机器人9","ip":"127.0.0.1","num":7,"date":"2018/05/04 17:33:20"},{"userid":9,"face":"","nickname":"机器人6","ip":"127.0.0.1","num":7,"date":"2018/05/04 17:33:20"},{"userid":8,"face":"","nickname":"机器人5","ip":"127.0.0.1","num":7,"date":"2018/05/04 17:33:20"},{"userid":6,"face":"","nickname":"机器人3","ip":"127.0.0.1","num":7,"date":"2018/05/04 17:33:20"}]
     * new_activity : []
     */

    public GoodInfoBean good_info;
    public int open_state;
    public ActivityProgressBean activity_progress;
    public int mybuy_total;
    public String record_start_time;
    public OpenInfoBean open_info;
    public List<String> mybuy_record;
    public List<AllRecordBean> all_record;
    public NewActivityBean new_activity;

    public static class OpenInfoBean {
        /**
         *
         *  "address": "北京",
         "fvid": "18569542",
         "lucky_num": "56364",
         "nickname": "糯米",
         "opentime": "2018/05/07 11:12:48",
         "partake_num": 5,
         "userid": 2
         */

        public String address;
        public String fvid;
        public String lucky_num;
        public String nickname;
        public String opentime;
        public String face;
        public int partake_num;
        public int userid;
    }

    public static class NewActivityBean {
        /**
         * goods_id : 7
         * goods_name : 苹果6S iphone 6S 32G
         * single_score : 10
         * goods_desc : Apple ipone6S 32G 颜色随机 顺丰包邮哦（除港澳台地区）
         * goods_album : ["http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2018-05-14/2018-05-14/c1e436fea8620a91d82b256f3ce5c862.jpg","http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2018-05-14/2018-05-14/d59f59bc846987661201deefc886b13a.jpg"]
         */

        public String fvid;
        public String gid;
        public int vid;
    }
    public static class GoodInfoBean {
        /**
         * goods_id : 7
         * goods_name : 苹果6S iphone 6S 32G
         * single_score : 10
         * goods_desc : Apple ipone6S 32G 颜色随机 顺丰包邮哦（除港澳台地区）
         * goods_album : ["http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2018-05-14/2018-05-14/c1e436fea8620a91d82b256f3ce5c862.jpg","http://chujiale.oss-cn-beijing.aliyuncs.com/Admin/Picture/2018-05-14/2018-05-14/d59f59bc846987661201deefc886b13a.jpg"]
         */

        public int goods_id;
        public String goods_name;
        public int single_score;
        public String goods_desc;
        public List<String> goods_album;
    }

    public static class ActivityProgressBean {
        /**
         * fvid : 第18201548期
         * total_num : 总需150人次
         * last_num : 剩余113人次
         * openratio : 0.25
         */

        public String fvid;
        public String total_num;
        public String last_num;
        public double openratio;
    }

    public static class AllRecordBean {
        /**
         * userid : 5
         * face :
         * nickname : 机器人2
         * ip : 127.0.0.1
         * num : 9
         * date : 2018/05/04 17:33:20
         */

        public int userid;
        public String face;
        public String nickname;
        public String ip;
        public int num;
        public String date;
    }
}
